package com.insideClass.Generics.GenericsInterface;

import java.util.*;

/**
 * @author 13699
 */
public class New {
    public static <K,V> Map<K,V>map(){

        return new HashMap<>();
    }
    public static <T>List<T> list(){
        return new ArrayList<>();
    }
    public static <T>LinkedList<T> llst(){
        return new LinkedList();
    }
    public static <T> Set<T> set(){
        return new HashSet<>();
    }
    public static <T> Queue<T> queue(){
        return new LinkedList<>();
    }

    public static void main(String[] args) {
        Map<String,List<String>> sls=New.map();
        List<String> ls=New.list();
        LinkedList<String> lls=New.llst();
        Set<String> ss=New.set();
        Queue<String > qs=New.queue();
    }
}
